﻿@using System
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<YYBlog.Core.ViewProjections.Home.TagCloudViewModel>
@{
    Layout = "_AdminLayout.cshtml";
}
<div class="title">标签管理</div>
<div class="card article">
    <div class="card-body">
        <table class="table table-striped table-hover">
            <thead class="thead-light">
                <tr>
                    <th>标签名称</th>
                    <th>标签别名</th>
                    <th>文章数量</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var tag in Model.Tags)
            {
                <tr>
                    <td>
                        @tag.Name
                    </td>
                    <td>@tag.Slug</td>
                    <td>
                        @tag.PostCount
                    </td>
                </tr>
        }
            </tbody>
        </table>
    </div>
</div>